package com.zh.test.ProxyAndAspect;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.ArrayList;


/**
 * 静态代理接口业务类实现
 */
@Service("staticProxy")
@Slf4j
public class StaticProxyTestImpl3 implements StaticProxyTestIntarface {

    public void show() {
        log.info("这是autowired注释在方法上时,方法被spring自动启动,启动晚于static方法,因为static是jvm级别.");
    }

    public void show(int i) {

        System.out.print(i);
    }
}
